// main.ts
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import { zhCn } from 'element-plus/es/locales.mjs'

const app = createApp(App)

app.use(ElementPlus,{
  // 设置组件库语言包（国际化处理）
  locale: zhCn
})

app.use(router)
app.use(ElementPlus)
app.mount('#app')
